package cn.xutongxue.user.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 用户状态枚举类
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum UserStatus {

    NORMAL(0, "正常"),
    LOCKED(1, "锁定"),
    BAN(2, "禁用"),
    DELETED(3, "删除");

    private Integer code;
    private String description;
}
